<% if @project.present? && @v2.present? %>
  <li>
    <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i> 接口测试<span class="fa arrow"></span></a>
    <ul class="nav nav-second-level collapse in">
      <li> <%= link_to 'Token获取', set_settings_v2_project_path(@project) %> </li>
      <li> <%= link_to '创建客户', get_customer_v2_project_path(@project) %> </li>
      <li> <%= link_to '查询客户', get_customer_by_token_v2_project_path(@project) %> </li>
      <li> <%= link_to '创建会话', get_session_v2_project_path(@project) %> </li>
      <li> <%= link_to '发送消息', send_message_v2_project_path(@project) %> </li>
      <li> <%= link_to '排队查询', queue_status_v2_project_path(@project) %> </li>
      <li> <%= link_to '排队放弃查询', shut_queues_v2_project_path(@project) %> </li>
      <li> <%= link_to '用户状态查询', customer_status_v2_project_path(@project) %> </li>
      <li> <%= link_to '推送结果', cls_push_v2_project_path(@project) %> </li>
      <li> <%= link_to '满意度', survey_vote_v2_project_path(@project) %> </li>
      <li> <%= link_to '老版', show_v2_project_path(@project) %> </li>
    </ul>
  </li>
<% end %>